package com.why.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

//日常生活表
public class DailyLife implements Serializable {
    private Integer id;

    private Integer oldman;

    private Integer eventproperty;

    @JsonFormat(pattern = "HH:mm:ss",timezone = "GMT+8")
    private Date time;

    private String eventcontent;

    private String eventcontentname;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOldman() {
        return oldman;
    }

    public void setOldman(Integer oldman) {
        this.oldman = oldman;
    }

    public Integer getEventproperty() {
        return eventproperty;
    }

    public void setEventproperty(Integer eventproperty) {
        this.eventproperty = eventproperty;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getEventcontent() {
        return eventcontent;
    }

    public void setEventcontent(String eventcontent) {
        this.eventcontent = eventcontent == null ? null : eventcontent.trim();
    }
}